package com.bangf.repo;

import com.bangf.domain.FpSum;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface SumRepo extends JpaRepository<FpSum,Integer> {

    @Query(value =  "SELECT * FROM fp_sum " +
                    "limit 1",nativeQuery = true)
    FpSum findLimitOne();
}
